package com.enfry.common.util.excel;

import java.io.Serializable;

public abstract class Cell implements Serializable {
	
	private static final long serialVersionUID = 5803179954819530817L;

	protected Cell parent;
	 
	protected int x;
	
	protected int y;
	
	public void setX(int x) {
		this.x = x;
	}
	public void setY(int y) {
		this.y = y;
	}
	public int getX() {
		return x;
	}
	public int getY() {
		return y;
	}
	
	public Cell getParent() {
		return parent;
	}
	public void setParent(Cell parent) {
		this.parent = parent;
	}
	public abstract int getWidth();

	public abstract int getHight();
}
